package com.bfb.CommentsTest;

import android.content.Intent;
import android.test.ActivityInstrumentationTestCase2;
import android.widget.Gallery;
import android.widget.ListView;

import com.bfb.Details;
import com.bfb.IngredientsActivity;

public class CommentsTesting extends ActivityInstrumentationTestCase2<Details> {

	private Details mActivity;
	private ListView mView;
	
	public CommentsTesting()
	{
		super("com.bfb.Details",Details.class);
		
	}
	 @Override
	    protected void setUp() throws Exception {
	        super.setUp();
	  
	        Intent intent=new Intent();
			intent.putExtra("Key","ahFzfmJmYm1vYmlsZXNlcnZlcnIMCxIERGlzaBic-wIM");
			
			setActivityIntent(intent);
		    mActivity = this.getActivity();
		    mView = (ListView) mActivity.findViewById(com.bfb.R.id.Dish_comm);
	       
	    }
	 public void testPreconditions()
	 {
		 assertNotNull(mView);
	 }

}
